package main

import (
	"github.com/blog/initialization"
	"github.com/blog/router"
)

func main() {

	// 创建一个默认的路由引擎
	r := router.Routers(initialization.Container)
	// routers.ApiRoutersInit(r)
	if err := r.Run(":8888"); err != nil {
		panic("服务器启动失败: " + err.Error())
	}

}
